package com.yhg.qxmall.search.service;

import com.yhg.qxmall.search.vo.SearchParam;
import com.yhg.qxmall.search.vo.SearchResult;
import com.yhg.qxmall.search.vo.temp.MQSearchParam;
import com.yhg.qxmall.search.vo.temp.MQSearchResult;

/**
 * @author 凌月青缃
 * @date 2020/10/12
 */
public interface MallSearchService {
    /**
     *
     * @param param   检索所有参数
     * @return  返回所有结果
     */
    SearchResult search(SearchParam param);

    MQSearchResult searchFromMysql(MQSearchParam param);
}
